Ext.onReady(function(){

//peopleTabContent.add(peopleTabContentView);
//peopleTabContent.add(peopleTabContentEdito);
//var peopleTabContent=new Ext.Panel({
//	id:"peopleTabContent",
//	title:"人员信息管理",
//	layout:"border",
//	draggable:true,
//	renderTo:"misdiv",
//	items:[peopleTabContentView,peopleTabContentEdito]
//});
});

var peopleTabContentView=new Ext.Panel({
	title:"人员浏览",
	region: 'west',
	width:200,
	height:200,
	id:"peopleTabContentView",
	html:"peopleTabContentView"
});

var peopleTabContentEdito=new Ext.Panel({
	title:"详细",
	region: 'east',
	width:200,
	height:200,
//	renderTo:"peopleTabContent",
	id:"peopleTabContentEdito",
	html:"peopleTabContentEdito"
});


var peopleTabContent=new Ext.Panel({
	title:"人员信息管理s",
	autoHeight:true,
	autoWidth:true,
	layout:"border",
//	items:[peopleTabContentView,peopleTabContentEdito],
	html:"sdfsdfsdf",
	listeners :{
		beforerender:function(container, position){
//			peopleTabContentView.render("peopleTabContentView");
			peopleTabContent.add(peopleTabContentView);
		}
	}
	
})

PeopleManage={
	peopleTab:new Ext.TabPanel({
	    autoTabs: true,
	    deferredRender: false,
	    border: false,
	    activeTab:0,
	    id:"peopleTab",
	    items:[{
			title:"as",
			html:"<iframe id='mainFrame' name='mainFrame' src='MyJsp2.jsp' frameborder='0' height='100%' width='100%' style='overflow:hidden;' allowTransparency='true'></iframe>"
		},{
			title:"sd",
			html:"<a href='#' onclick='ff()'>asd</a> "
		},{
			title:"df",
//			autoLoad:{url:"MyJsp2.jsp",scripts:true}
			html:"dff"
		},peopleTabContent]
	}),
//	peopleTabContent:new Ext.Panel({
//		title:"人员信息管理",
//		autoHeight:true,
//		autoWidth:true,
//		layout:"border",
//		items:[peopleTabContentView,peopleTabContentEdito]	
//	}),
	remarks:"人员管理"
}

function  ff(){
	alert(PeopleManage.remarks);
}